import network from '@/utils/network'
import baseUrl from './baseUrl'
const BASE_URL = baseUrl + '/Check'

export default {
  getPageList(data) {
    return network.request({
      url: BASE_URL + '/GetPageList',
      method: 'post',
      data
    })
  },
  getDetail(id) {
    return network.request({
      url: BASE_URL + '/GetDetail',
      method: 'get',
      params: {
        id
      }
    })
  },
  getChargeCdcPageList(params) {
    return network.request({
      url: BASE_URL + '/GetChargeCdcPageList',
      method: 'post',
      data: params
    })
  },
  syncCheckAmountToEs(data) {
    return network.request({
      url: BASE_URL + '/SyncCheckAmountToEs',
      method: 'post',
      data
    })
  }
}